const index = () =>
    import ("views/Index/index.vue");
const artice = () =>
    import ("views/Article/article.vue");
const label = () =>
    import ("views/Label/Label.vue");
const file = () =>
    import ("views/File/file.vue");
const archives = () =>
    import ("views/Archives/archives.vue");
const webMessage = () =>
    import ("views/WebMessage/webMessage.vue");
const friend = () =>
    import ("views/Friend/friend.vue")
const naviGation = () =>
    import ("views/NaviGation/naviGation.vue")

let routes = [{
        path: "/",
        redirect: "/index"
    },
    {
        path: "/index",
        component: index,

    }, {
        path: "/article/:id",
        component: artice,

    },
    {
        path: "/label",
        component: label,
        meta: {
            title: "标签"
        }
    }, {
        path: "/file",
        component: file,
        meta: {
            title: "归档"
        }
    },
    {
        path: "/archives",
        component: archives,
        meta: {
            title: "关于"
        }
    },
    {
        path: "/webMessage",
        component: webMessage,
        meta: {
            title: "webMessage"
        }
    },
    {
        path: "/friend",
        component: friend,
        meta: {
            title: "friend"
        }
    },
    {
        path: "/naviGation",
        component: naviGation,
        meta: {
            title: "导航"
        }
    }
]
export default routes;